//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package nc.bs.pub.action;

import nc.bs.framework.common.NCLocator;
import nc.bs.pub.compiler.AbstractCompiler2;
import nc.impl.to.m5f.action.UnSendApproveAction;
import nc.uapbd.vo.sever.ListenerSever;
import nc.vo.pub.BusinessException;
import nc.vo.pub.compiler.PfParameterVO;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
import nc.vo.to.m5f.entity.SettleListVO;

public class N_5F_UNSAVE extends AbstractCompiler2 {
    public N_5F_UNSAVE() {
    }

    public String getCodeRemark() {
        return " \n";
    }

    public Object runComClass(PfParameterVO vo) throws BusinessException {
        super.m_tmpVo = vo;
        SettleListVO[] vos = (SettleListVO[])((SettleListVO[])this.getVos());
        UnSendApproveAction action = new UnSendApproveAction();
        SettleListVO[] obj = null;

        try {
            obj = action.unSendapprove(vos, this);
            for (SettleListVO vo1: obj) {
                NCLocator.getInstance().lookup(ListenerSever.class).updataSH(vo1.getParentVO().getCbillid());
            }

        } catch (Exception var6) {
            ExceptionUtils.marsh(var6);
        }

        return obj;
    }
}
